from utils import readExcelToOneArray, setGuoShengList

# excel路径
excel_path = r'.\excels\right.xlsx'

# raise SystemExit
# 外层循环遍历每个分组
for group_index, group in enumerate(readExcelToOneArray(excel_path)):
    s = ''
    waitTime = 0.5
    # 循环遍历分组内的每个字典（每行数据）
    s = str(group['代码'])
    print("s:", s)
    setGuoShengZYList(s, [group], waitTime)

    print()  # 打印一个空行作为组之间的分隔3.5